<%@ page contentType="text/html; charset=UTF-8"  %>
<%@ taglib uri="/struts-tags" prefix="s" %>


<div id="usli_dep" style="padding:5px;height:auto">
	<div>
		<a href="javascript:;" id="depadd" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="dep_add_dd()">添加</a>
		<a href="javascript:;" id="depupdate" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="dep_update_dd()">修改</a>
		<a href="javascript:;" id="depdel" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="dep_del_dd()">删除</a>
	</div>
	<div style="padding-top: 5px; padding-left: 4px;">
	</div>
</div>

<table id="dep_result"></table>
	
	<div id="dep_add_dd" data-options="closed:true" style="padding:5px; width: 380px; height: 200px; ">
		<div class="usli_ftitle">部门信息</div>
		<form id='dep_add_form' method='post'>
			<div class="usli_fitem">
				<label>顺序：</label>
				<input type="text" name="num"  class="easyui-validatebox" missingMessage="必须填写" required="true">
			</div>
			<div class="usli_fitem">
				<label>部门名：</label>
				<input type="text" name="department"  class="easyui-validatebox" missingMessage="必须填写" required="true">
			</div>
		</form>
	</div>
	
	<div id="dep_update_dd" data-options="closed:true" style="padding:5px; width: 380px; height: 200px; ">
		<div class="usli_ftitle">修改信息</div>
		<form id='dep_update_form' method='post'>
			<div class="usli_fitem">
				<input id="u_id" type="hidden" name="id" >
			</div>
			<div class="usli_fitem">
				<label>顺序：</label>
				<input id="num" type="text" name="num"  class="easyui-validatebox" missingMessage="必须填写" required="true">
			</div>
			<div class="usli_fitem">
				<label>部门名：</label>
				<input id="department" type="text" name="department"  class="easyui-validatebox" missingMessage="必须填写" required="true">
			</div>
			<div class="usli_fitem">
				<label>许可密码：</label>
				<input id="pwd" type="password" name="pwd"  class="easyui-validatebox" missingMessage="密码必须填写" required="true">
			</div>
		</form>
	</div>
	
	<div id="dep_del_dd" data-options="closed:true" style="padding:5px; width: 380px; height: 200px; ">
		<div class="usli_ftitle">删除验证</div>
		<form id='dep_del_form' method='post'>
			<div class="usli_fitem">
				<input id="d_id" type="hidden" name="id" >
			</div>
			<div class="usli_fitem">
				<label>许可密码：</label>
				<input id="pwd" type="password" name="pwd"  class="easyui-validatebox" missingMessage="密码必须填写" required="true">
			</div>
		</form>
	</div>
	
	
